package com.itheima.Method;

public class Ten {
    public static void main(String[] args) {
        shidencifang(3);

    }

    public static void shidencifang(int mi) {

        int arr[] = new int[mi];
        arr[0] = 10;
        for (int i = 1; i < arr.length; i++) {
            arr[i] = 10 * arr[i - 1];
        }
        System.out.println(arr[mi-1]);
        return;
    }
}
